// import "babel-polyfill"
import React from 'react'
import ReactDOM from 'react-dom'
import { Router, Route, hashHistory } from 'react-router'

import config from "./config"
import "./assembly"

import Main from "./main"

import Login from "./account/login"
import Register from "./account/register"
import Appear from "./appear/appear"

ReactDOM.render((
    <Router history={hashHistory}>
        <Route component={Main} path="/">
            <Route component={Login} path="login" />
            <Route component={Register} path="register" />
            <Route component={Appear} path="appear" />
        </Route>
    </Router>
), document.querySelector('#body'))
